package com.mapper;

import com.entity.Client;
import com.entity.PageBean;
import com.vo.ClientVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientMapper {

    Client selectByCid(Integer cid);
    int[] selectByCname(String cname);
    Client selectClientByCname(String cname);
    int add(Client client);
    void delete(@Param("del") Integer del, @Param("cid") Integer cid);
    void update(Client client);
    void updateState(@Param("state") String state, @Param("cid") Integer cid);
    List<Client> selectAll(ClientVO clientVO);

}
